package com.wlz.basic.javaVariable;

/**
 * 实例方法和类方法对实例变量和类变量的访问 main
 */
public class InstanceVariableMethodMain {

    public static void main(String[] args) {

        InstanceVariableMethod one=new InstanceVariableMethod(1,2,3);
        one.display();
        InstanceVariableMethod two=new InstanceVariableMethod(4,5,6);
        one.display();
        two.display();

        //InstanceVariableMethod.display();//出错
        one.change(101);
        one.display();
        two.change(102);
        two.display();
    }
}
